package com.neu.credit.creditscore.entity.hospital;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(name = "Doctors", description = "医生信息表")
public class Doctors {
    //普通医生
    public static final int DOCTOR_TITLE_NORMAL = 0;
    //副主任医生
    public static final int DOCTOR_TITLE_DEPUTY = 1;
    //主任医生
    public static final int DOCTOR_TITLE_CHIEF = 2;

    @Schema(description = "医生ID，自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "医生姓名")
    private String doctorName;
    @Schema(description = "医生密码")
    private String doctorPassword;
    @Schema(description = "医生职称 0  普通医生 1 副主任 2 主任")
    private Integer doctorTitle;

    @Schema(description = "医生专长")
    private String doctorSpecialty;

    @Schema(description = "所属科室ID")
    private Integer departmentId;

    @Schema(description = "医生封面图片URL")
    private String image;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "电子邮箱")
    private String email;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}